package com.tamtamy.jtta.data.xml;

import org.w3c.dom.Document;

import com.tamtamy.jtta.data.UserStatsGenerationDetails;
import com.tamtamy.jtta.utility.XMLUtility;

public class XMLUserStatsGenerationDetails extends UserStatsGenerationDetails{

	public XMLUserStatsGenerationDetails(Document xmlDocument) {
		this.id = XMLUtility.getLong(xmlDocument, "id");
		this.generated = XMLUtility.getDate(xmlDocument, "generated");
		this.usersRanking = XMLUtility.getStringList(xmlDocument, "usersRanking", "string");
	}

}
